package com.kcht.rd30.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;


/**
  * <p>
  * 创建更新日期实体父类
  * </p>
  *
 */
@Getter
@Setter
@Data
@Accessors(chain = true)
public class BaseInsertUpdateDateEntity implements java.io.Serializable {

    /**
      * @Description:   创建时间
      * @CreateDate:    2020/3/31 10:53
     */
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;

    /**
      * @Description:   最后一次修改时间
      * @CreateDate:    2020/3/31 10:54
     */
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime lastUpdateTime;

}
